import request from '@/utils/request'
//获取采购目标销量完成率列表
export function getPurchaseTargetListAPI(data) {
  return request({
    url:'purchase/purchaseTargetList',
    method:'post',
    data
  })
}
// 编辑采购月目标数据
export function getEditTargetInfotAPI(data) {
  return request({
    url:'purchase/editTargetInfo',
    method:'post',
    data
  })
}
// 获取审批列表接口
export function getCheckListAPI(data) {
  return request({
    url:'/orderCheck/checkList',
    method:'post',
    data
  })
}
// 获取审批详情
export function getCheckDetailAPI(data) {
  return request({
    url:'/orderCheck/checkDetail',
    method:'post',
    data:data
  })
}
// 提交审批结果
export function orderCheckAPI(data) {
  return request({
    url:'/orderCheck/process',
    method:'post',
    data
  })
}
// 销售合同列表  更改结算方式
export function updateOrderRemarkAPI(data) {
  return request({
    url:'/order/updateOrderRemark',
    method:'post',
    data
  })
}
// 获取结算方式列表
export function paymentTypeListAPI(data) {
  return request({
    url:'/inquiry/paymentTypeList',
    method:'post',
    data
  })
}
// 获取订单结算方式摘要
export function contractRemarkListAPI(data) {
  return request({
    url:'/selfOrder/contractRemarkList',
    method:'post',
    data
  })
}
//更新当月采购实际销量
export function updateActualTargetNumAPI(data) {
  return request({
    url:'/purchase/updateActualTargetNum',
    method:'post',
    data
  })
}
